package com.cl.crm.biz.impl;

import java.util.List;

import com.cl.crm.biz.ibiz.IWarehouseInfoBiz;
import com.cl.crm.entity.WarehouseInfo;
import com.cl.crm.myutil.Page;
import com.cl.crm.pers.dao.IWarehouseInfoDao;

public class WarehouseInfoBizImpl implements IWarehouseInfoBiz {
	private IWarehouseInfoDao warehouseDao;
	public void setWarehouseDao(IWarehouseInfoDao warehouseDao) {
		this.warehouseDao = warehouseDao;
	}
	public List<WarehouseInfo> getWarehouse(String products, String warehouse,
			Page page) {
		return warehouseDao.selectWarehouse(products, warehouse, page);
	}
	public int getWarehouseNum(String products, String warehouse) {
		return warehouseDao.selectWarehouseNum(products, warehouse);
	}

}
